@extends('admin.layouts.wap')
@section('title', '使用密钥添加小程序')

@section('content')

<div class="row">
    <div class="col-md-12">
        <form id="comment-form" method="POST" action="{{ URL::current() }}">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">使用密钥添加小程序</div>
                </div>
                <div class="card-body">
                    <div class="form-group col-md-3">
                        <label for="text">请输入小程序名称：</label>
                        <input type="text" class="form-control" name="name" placeholder="请输入小程序名称" value="{{ old('name') }}">
                        @csrf
                    </div>
                    <div class="form-group col-md-3">
                        <label for="text">请输入小程序Appid：</label>
                        <input type="text" class="form-control" name="appid" placeholder="请输入小程序Appid" value="{{ old('appid') }}">
                    </div>
                    <div class="form-group col-md-6">
                        <label for="text">请输入小程序密钥：</label>
                        <input type="text" class="form-control" name="secret" placeholder="请输入小程序密钥" value="{{ old('secret') }}">
                    </div>
                    <div class="form-group col-md-3">
                        <label for="text">请输入小程序原始ID：</label>
                        <input type="text" class="form-control" name="original_id" placeholder="请输入小程序原始ID" value="{{ old('original_id') }}">
                    </div>
                </div>
                <div class="card-action">
                    <button class="btn btn-primary">立即添加</button>
                </div>
            </div>
        </form>
    </div>
</div>


@endsection
